package ru.agiledev.akb.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by a.kirillov
 * Date: 4/3/11 Time: 11:07 AM
 */
public class User implements IsSerializable {
    private Integer id;

	private String login;

	private String firstName;

	private String lastName;

    private String affilation;

    private String email;

    private String password;

	public User() {

	}

    public User(Integer id, String login, String firstName, String lastName, String affilation, String email, String password) {
        this.id = id;
        this.login = login;
        this.firstName = firstName;
        this.lastName = lastName;
        this.affilation = affilation;
        this.email = email;
        this.password = password;
    }

    //==================================== Getters and setters ====================================================
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getAffilation() {
        return affilation;
    }

    public void setAffilation(String affilation) {
        this.affilation = affilation;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
